<WIZIF 0><!-- Copyright (c) 1997-2001 Macromedia, Inc. All Rights Reserved. Consult Software License Agreement for more details. Version 1.0 - 2001-07-16 --></WIZIF>
<WIZIF 0><!--
Indentation of tag content: 'mini' CodeSweeper implemented in WIZML
Requires tdIndentContentInit.wizml
--></WIZIF>
<WIZIF 0><!-- first get rid of all collapsible whitespace --></WIZIF>
<WIZSET varString = Trim(txtTagBody)>
<WIZSET varReplace = TagStart>
<WIZSET varFind = ' ' & TagStart>
<WIZINCLUDE TEMPLATE="wmReplaceAll.wizml">
<WIZSET varFind = Tab & TagStart>
<WIZINCLUDE TEMPLATE="wmReplaceAll.wizml">
<WIZSET varFind = CRLF & TagStart>
<WIZINCLUDE TEMPLATE="wmReplaceAll.wizml">
<WIZIF 0><!-- now indent the content, replacing angle brackets by square brackets as we proceed --></WIZIF>
<WIZSET level = 0>
<WIZSET OpenTagName = ''>
<WIZSET CloseTagName = ''>
<WIZSET ShortcutTag = 'false'>
<WIZLOOP CONDITION = 'Find(varString, TagStart)'>
<WIZSET OpenPos = Find(varString, TagStart)><WIZIF 0><!-- Find start of next tag --></WIZIF>
<WIZSET ClosePos = Find(varString, TagEnd)><WIZIF 0><!-- Find end of this tag --></WIZIF>
<WIZIF 0><!-- determine whether it's a start, shortcut or end tag --></WIZIF>
<WIZIF Mid( varString, OpenPos + 1, 1 ) EQ '/'><WIZIF 0><!-- end tag --></WIZIF>